package com.chl.legou.security.service;

import com.chl.legou.core.service.ICrudService;
import com.chl.legou.security.po.Role;
import com.chl.legou.security.po.User;

import java.util.List;

/**
 * @author chlong
 * @date 2022/1/16
 */

public interface IRoleService extends ICrudService<Role> {

    /**
     * 根据角色id查询用户
     * @param id
     * @return
     */
    public List<User> selectUserByRole(Long id);
}
